<template>
  <el-form-item :label="i18nt('designer.setting.backgroundImage')">
    <el-input v-model="optionModel.img" type="text"></el-input>
  </el-form-item>
</template>

<script>
export default {
  name: 'ImageEditor',
  inject: ['getDesignerConfig'],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object
  },
  data() {
    return {
      fileList: []
    }
  },
  watch: {
    'optionModel.img': {
      handler(newVal) {
        if (newVal) {
          console.log('newVal', newVal)
        }
      }
    }
  }
}
</script>

<style lang="scss" scoped></style>
